package com.nursinghome.emp.service;

import com.nursinghome.bean.Holidays;
import com.nursinghome.exception.NurisingHomeException;

import java.util.List;

public interface EmpHolidaysService {
    //查询护工的请假记录
    List<Holidays> selectByMid(Integer mid);
    //护工请假
    Boolean insert(Holidays holidays) throws NurisingHomeException;
    //查询当前时段是否有请假
    Holidays selectByData(String data,  Integer mid);
}
